using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN MucHocBongService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: MucHocBongService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class MucHocBongService : IMucHocBongService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: MucHocBong_ID</para>
		/// <para>Output: MucHocBongEntity</para>
		///</summary>
		public MucHocBongEntity SelectOne(int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.SelectOne(MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of MucHocBongEntity</para>
		///</summary>
		public List<MucHocBongEntity> SelectAll(){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of MucHocBongEntity</para>
		///</summary>
		public List<MucHocBongEntity> SelectAllFilter(string strFilter){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: MucHocBongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(MucHocBongEntity o){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: MucHocBongEntity</para>
		/// <para>Output: MucHocBongEntity</para>
		///</summary>
		public MucHocBongEntity SaveRet(MucHocBongEntity o){
			MucHocBongDAO dao = new MucHocBongDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of MucHocBongEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<MucHocBongEntity> list){
			MucHocBongDAO dao = new MucHocBongDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of MucHocBongEntity</para>
		/// <para>Output: List of MucHocBongEntity</para>
		///</summary>
		public List<MucHocBongEntity> SaveListRet(List<MucHocBongEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: MucHocBongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(MucHocBongEntity o){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of MucHocBongEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<MucHocBongEntity> list){
			MucHocBongDAO dao = new MucHocBongDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTuDiem</para>
		/// <para>Input: NewTuDiem,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTuDiem(Decimal NewTuDiem,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateTuDiem(NewTuDiem,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDenDiem</para>
		/// <para>Input: NewDenDiem,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDenDiem(Decimal NewDenDiem,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateDenDiem(NewDenDiem,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSoTien</para>
		/// <para>Input: NewSoTien,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSoTien(Decimal NewSoTien,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateSoTien(NewSoTien,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLayCanDuoi</para>
		/// <para>Input: NewLayCanDuoi,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLayCanDuoi(bool NewLayCanDuoi,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateLayCanDuoi(NewLayCanDuoi,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLayCanTren</para>
		/// <para>Input: NewLayCanTren,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLayCanTren(bool NewLayCanTren,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateLayCanTren(NewLayCanTren,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTuDiemRL</para>
		/// <para>Input: NewTuDiemRL,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTuDiemRL(Decimal NewTuDiemRL,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateTuDiemRL(NewTuDiemRL,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDenDiemRL</para>
		/// <para>Input: NewDenDiemRL,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDenDiemRL(Decimal NewDenDiemRL,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateDenDiemRL(NewDenDiemRL,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLayCanDuoiRL</para>
		/// <para>Input: NewLayCanDuoiRL,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLayCanDuoiRL(bool NewLayCanDuoiRL,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateLayCanDuoiRL(NewLayCanDuoiRL,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLayCanTrenRL</para>
		/// <para>Input: NewLayCanTrenRL,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLayCanTrenRL(bool NewLayCanTrenRL,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateLayCanTrenRL(NewLayCanTrenRL,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenMuc</para>
		/// <para>Input: NewTenMuc,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTenMuc(string NewTenMuc,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateTenMuc(NewTenMuc,MucHocBong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateCachTinhHocBong_ID</para>
		/// <para>Input: NewCachTinhHocBong_ID,MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateCachTinhHocBong_ID(int NewCachTinhHocBong_ID,int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.UpdateCachTinhHocBong_ID(NewCachTinhHocBong_ID,MucHocBong_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: MucHocBongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(MucHocBongEntity o){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: MucHocBong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int MucHocBong_ID){
			MucHocBongDAO dao = new MucHocBongDAO();
			return dao.DeleteByID(MucHocBong_ID);
		}
		#endregion

		#region Select join to CachTinhHocBong functions
		#endregion

		#region Select,delete by MucHocBong_ID functions
		#endregion

		#region Select,delete by CachTinhHocBong_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END MucHocBongWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

